import random
secret = random.randint(1,10)
print('----------------小仙女的游戏--------------------')
temp=input("不妨猜一下小仙女现在心里想的是哪个数字：")
guess=int(temp)
i=0
i=i+1
while guess!=secret and i<3:
    temp=input("猜错了，再猜一次吧：")
    guess=int(temp)
    i=i+1
    if guess==secret:
         print("你是蛔虫吗？")
         print("哼，猜对耶没有奖励")
    else:
         if guess>secret:
             print("您输入的数大了")
         else:
             print("您输入的数小了")
print("不跟你玩了")
